package com.g.ocache;

/**
 * 
 * @author Jingqi Xu
 */
public interface CacheLoader<K, V> {
	
	/**
	 * 
	 */
	boolean isRunning();
	
	void start() throws Exception;
	
	void stop() throws Exception;
	
	/**
	 * 
	 */
	V load(K key) throws Exception;
}
